<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" 	prefix="s"%>
<%@ include file="/jsp/common/common_head.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>示界港管理平台</title>
<%@ include file="/jsp/common/common_script.jsp"%>
<style type="text/css">
</style>
</head>
<body>
<s:hidden name="userId" id="userId"/>
<table class="queryTable" >
	<tr>
		<td class="queryTitle" width="68px">提纲大分类</td>
		<td class="queryContent">
			<select id="queryTmplType" name="queryTmplType" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" ></select>
		</td>
		<td class="queryTitle" width="68px">提纲中分类</td>
		<td class="queryContent">
			<select id="queryTmplType2" name="queryTmplType2" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" ></select>
		</td>
		<td class="queryTitle" width="68px">提纲小分类</td>
		<td class="queryContent">
			<select id="queryTmplType3" name="queryTmplType3" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" ></select>
		</td>
	</tr>
	<tr>
		<td class="queryTitle" width="68px">制作状态</td>
		<td class="queryContent">
		    <select id="queryPublish" name="queryPublish">
		    		<option value=""></option>
					<option value="0">制作中</option>
					<option value="1">已完成</option>
			</select> 
		</td>
		<td class="queryTitle" width="68px">提纲模版名</td>
		<td class="queryContent" colspan="2">
			<input class="inputText" type="text" id="queryTmplName" />
		</td>
		<td class="queryBtnTd">
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search"  onclick="doQuery(1)">查询</a>
		</td>
	</tr>
</table>

<table id="tmplGrid"></table>

<div id="addDlg" class="easyui-window" title="" closed="true" style="width:1000px; height:auto;text-align:center; background: #fff;">
	<div class="tabs-panels tabs-panels-noborder" style="width: 980px;" id="frameDiv">
		<div class="panel" style="display: block; width: 980px;">
			<div title="" class="panel-body panel-body-noheader panel-body-noborder" style="width: 980px;">
			<iframe scrolling="auto" frameborder="0" id="addFrame" name="addFrame" src="" style="width: 100%; height: 100%;"></iframe>
			</div>
		</div>
	</div>
</div>
<div id="editDlg" class="easyui-window" title="" closed="true" style="width:1000px; height:auto;text-align:center; background: #fff;">
	<div class="tabs-panels tabs-panels-noborder" style="width: 980px;" id="frameDiv">
		<div class="panel" style="display: block; width: 980px;">
			<div title="" class="panel-body panel-body-noheader panel-body-noborder" style="width: 980px;">
			<iframe scrolling="auto" frameborder="0" id="editFrame" name="editFrame" src="" style="width: 100%; height: 100%;"></iframe>
			</div>
		</div>
	</div>
</div>

<div id="typeDlg" class="easyui-window" title="" closed="true" style="width:600px; height:auto;text-align:center; background: #fff;">
	<div border="false" style="padding-left:20px;">
		<form id="typeForm"  method="POST">
			<s:hidden name="tgId" id="tgId"/>
			<s:hidden name="typeId" id="typeId"/>
			<table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;" id="typeTable">
				<tr>
					<td class="queryTitle" width="80px">提纲大分类</td>
					<td class="queryContent">
						<select id="editTmplType" name="editTmplType" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" ></select>
					</td>
				</tr>
				<tr>
					<td class="queryTitle" width="80px">提纲中分类</td>
					<td class="queryContent">
						<select id="editTmplType2" name="editTmplType2" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" ></select>
					</td>
				</tr>
				<tr>
					<td class="queryTitle" width="80px">提纲小分类</td>
					<td class="queryContent">
						<select id="editTmplType3" name="editTmplType3" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" ></select>
					</td>
				</tr>
			</table>
		</form>
	</div>
	<div style="clear:both;padding-top:10px;margin-bottom:10px;text-align:center;" id="typeBtn">
		<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)" onclick="doPostData()">确定</a>
		<a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" onclick="cancelPostData()">取消</a>
    </div>
</div>

<div id="orderDlg" class="easyui-window" title="" closed="true" style="width:600px; height:auto;text-align:center; background: #fff;">
	<div border="false" style="padding-left:20px;">
		<form id="orderForm"  method="POST">
			<s:hidden name="tgId" id="tgId"/>
			<table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;" id="orderTable">
				<tr>	
					<td class="queryTitle" width="80px">显示顺序</td>
					<td class="queryContent">
						<s:textfield id="order" name="order" cssClass="inputText easyui-validatebox" data-options="" onkeyup="value=value.replace(/[^\d]/gi,'')" cssStyle="width:250px"/>
					</td>
				</tr>
			</table>
		</form>
	</div>
	<div style="clear:both;padding-top:10px;margin-bottom:10px;text-align:center;" id="orderBtn">
		<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)" onclick="doUpdOrder()">确定</a>
		<a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" onclick="cancelUpdOrder()">取消</a>
    </div>
</div>

<script type="text/javascript" src="${ctx}/js/tg/outlineMst.js"></script>
</body>
</html>
